/*
 * Copyright © 2017-2023 TemplateFactory(xiaoymin@foxmail.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package com.github.xiaoymin.template.core;

/***
 *
 * @since template-engine 1.0
 * @author <a href="mailto:xiaoymin@foxmail.com">xiaoymin@foxmail.com</a> 
 * 2020/06/06 15:41
 */
public class IntrospectedColumn {
    
    /**
     * 原始字段名称
     */
    private String originalColumnName;
    /**
     * java字段名称
     */
    private String javaColumnName;
    
    private String javaGetterName;
    
    private String javaSetterName;
    
    /**
     * 首字母大写java字段名称
     */
    private String javaColumnUpperName;
    /**
     * java字段类型
     */
    private String javaType;
    /**
     * 字段描述
     */
    private String description;
    /**
     * 是否必填字段
     */
    private boolean require;
    
    public boolean getRequire() {
        return require;
    }
    
    public void setRequire(boolean require) {
        this.require = require;
    }
    
    public String getJavaGetterName() {
        return javaGetterName;
    }
    
    public void setJavaGetterName(String javaGetterName) {
        this.javaGetterName = javaGetterName;
    }
    
    public String getJavaSetterName() {
        return javaSetterName;
    }
    
    public void setJavaSetterName(String javaSetterName) {
        this.javaSetterName = javaSetterName;
    }
    
    public String getOriginalColumnName() {
        return originalColumnName;
    }
    
    public void setOriginalColumnName(String originalColumnName) {
        this.originalColumnName = originalColumnName;
    }
    
    public String getJavaColumnName() {
        return javaColumnName;
    }
    
    public void setJavaColumnName(String javaColumnName) {
        this.javaColumnName = javaColumnName;
    }
    
    public String getJavaType() {
        return javaType;
    }
    
    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }
    
    public String getJavaColumnUpperName() {
        return javaColumnUpperName;
    }
    
    public void setJavaColumnUpperName(String javaColumnUpperName) {
        this.javaColumnUpperName = javaColumnUpperName;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
}
